package com.mocha.bss.domain.rbac.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author: songkui
 * @since: 2020/3/20 16:47
 */
@Configuration
public class NacosConfiguration {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

    @Bean
    public MochaNacosProperties mochaNacosProperties(){
        return new MochaNacosProperties();
    }

    @Bean
    public MochaServerProperties mochaServerProperties(){
        return new MochaServerProperties();
    }

}